package com.cius.ssm.entity;


import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by ciuscheung on 17/4/4.
 */
public class ProductAndUserVo {
//    商品信息
    private Product product;

//    为了系统可扩展性,对原始生成的pojo进行扩展
    private ProductAndUser productAndUser;

//    批量修改的传入controller的list
    private List<ProductAndUser> productAndUserList;

    private Map<String,Object> productAndUserMap = new HashMap<String,Object>();

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public ProductAndUser getProductAndUser() {
        return productAndUser;
    }

    public void setProductAndUser(ProductAndUser productAndUser) {
        this.productAndUser = productAndUser;
    }

    public List<ProductAndUser> getProductAndUserList() {
        return productAndUserList;
    }

    public void setProductAndUserList(List<ProductAndUser> productAndUserList) {
        this.productAndUserList = productAndUserList;
    }

    public Map<String, Object> getProductAndUserMap() {
        return productAndUserMap;
    }

    public void setProductAndUserMap(Map<String, Object> productAndUserMap) {
        this.productAndUserMap = productAndUserMap;
    }
}
